package com.his.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the HIS_HOSPITALIZATION database table.
 * 
 */
@Entity
@Table(name="HIS_HOSPITALIZATION")
@NamedQuery(name="HisHospitalization.findAll", query="SELECT h FROM HisHospitalization h")
public class HisHospitalization implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="ZY_NO")
	private long zyNo;

	@Column(name="BQ_NO")
	private BigDecimal bqNo;

	@Column(name="TZ_STATE")
	private BigDecimal tzState;

	@Column(name="YG_NO")
	private BigDecimal ygNo;

	@Column(name="YLK_NO")
	private BigDecimal ylkNo;

	public HisHospitalization() {
	}

	public long getZyNo() {
		return this.zyNo;
	}

	public void setZyNo(long zyNo) {
		this.zyNo = zyNo;
	}

	public BigDecimal getBqNo() {
		return this.bqNo;
	}

	public void setBqNo(BigDecimal bqNo) {
		this.bqNo = bqNo;
	}

	public BigDecimal getTzState() {
		return this.tzState;
	}

	public void setTzState(BigDecimal tzState) {
		this.tzState = tzState;
	}

	public BigDecimal getYgNo() {
		return this.ygNo;
	}

	public void setYgNo(BigDecimal ygNo) {
		this.ygNo = ygNo;
	}

	public BigDecimal getYlkNo() {
		return this.ylkNo;
	}

	public void setYlkNo(BigDecimal ylkNo) {
		this.ylkNo = ylkNo;
	}

}